package com.mocha.single;

import sun.security.jca.GetInstance.Instance;

/**
 * 
 * @author duanqf
 * @date 2017-12-25
 */
public class Single {
	private static Single instance;
	private Single(){};
	public static synchronized Single  getInstance(){
		if (instance == null) {
			instance = new Single();
		}
		return instance;
	}
}
